home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / TextField.h < prev    next >
Text File  |  1992-03-25  |  2KB  |  81 lines

  1. /*
  2.     TextField.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Control.h"
  8.  
  9. @interface TextField : Control
  10. {
  11.     id                  nextText;
  12.     id                  previousText;
  13.     id                  textDelegate;
  14.     SEL                 errorAction;
  15.     unsigned int        _reservedTFint1;
  16. }
  17.  
  18. + setCellClass:factoryId;
  19.  
  20. - initFrame:(const NXRect *)frameRect;
  21.  
  22. - sizeTo:(float)width :(float)height;
  23. - setBackgroundGray:(float)value;
  24. - (float)backgroundGray;
  25. - setTextGray:(float)value;
  26. - (float)textGray;
  27. - setBackgroundColor:(NXColor)color;
  28. - (NXColor)backgroundColor;
  29. - setBackgroundTransparent:(BOOL)flag;
  30. - (BOOL)isBackgroundTransparent;
  31. - setTextColor:(NXColor)color;
  32. - (NXColor)textColor;
  33. - drawCellInside:aCell;
  34. - setEnabled:(BOOL)flag;
  35. - (BOOL)isBordered;
  36. - setBordered:(BOOL)flag;
  37. - (BOOL)isBezeled;
  38. - setBezeled:(BOOL)flag;
  39. - (BOOL)isEditable;
  40. - setEditable:(BOOL)flag;
  41. - (BOOL)isSelectable;
  42. - setSelectable:(BOOL)flag;
  43. - setPreviousText:anObject;
  44. - previousText;
  45. - setNextText:anObject;
  46. - nextText;
  47. - mouseDown:(NXEvent *)theEvent;
  48. - (SEL)errorAction;
  49. - setErrorAction:(SEL)aSelector;
  50. - selectText:sender;
  51. - textDelegate;
  52. - setTextDelegate:anObject;
  53. - (BOOL)textWillEnd:textObject;
  54. - textDidEnd:textObject endChar:(unsigned short)whyEnd;
  55. - (BOOL)textWillChange:textObject;
  56. - textDidChange:textObject;
  57. - textDidGetKeys:textObject isEmpty:(BOOL)flag;
  58. - (BOOL)acceptsFirstResponder;
  59. - write:(NXTypedStream *)stream;
  60. - read:(NXTypedStream *)stream;
  61.  
  62. /* 
  63.  * The following new... methods are now obsolete.  They remain in this  
  64.  * interface file for backward compatibility only.  Use Object's alloc method  
  65.  * and the init... methods defined in this class instead.
  66.  */
  67. + newFrame:(const NXRect *)frameRect;
  68.  
  69. @end
  70.  
  71. #ifdef KANJI
  72. @interface TextField(InputManager)
  73. - setIMEnabled:(BOOL)flag;
  74. - (BOOL)isIMEnabled;
  75. @end
  76.  
  77. @interface TextField(IMSupportDelegate)
  78. - (BOOL)textUsesIM:sender;
  79. @end
  80. #endif
  81.